package cn.edu.neu.studentmsg_java.dao;

import cn.edu.neu.studentmsg_java.model.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherDao {
    List<Teacher> selectTeacherPart(Teacher teacher);

    int deleteTeacherById(Integer teacher_id);

    int insertTeacher(Teacher teacher);

    int updateTeacherById(Teacher teacher);

    Integer selectTeacherIdByTeacherName(String teacher_name);

    List<String> selectTeacherName();

    Teacher selectTeacherByTeacherId(Integer teacher_id);

    String selectTeacherNameByTeacherId(Integer teacher_id);
}
